using System.Collections.Generic;

namespace FormicArch.AssetBundleEditor
{
    public interface IAssetBuildManager
    {
        //bool TryAdd(string path, out IAssetDependency dependency);
        void AddAtlasDependencyDict(string path, IAssetDependency dependency);
        List<string> GetDependencies(string path);
        /// <summary>
        /// 从所有资源中获取资源信息
        /// </summary>
        /// <param name="path"></param>
        /// <param name="dependency"></param>
        /// <returns></returns>
        bool TryGetDependencyValue(string path, out IAssetDependency dependency);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="path"></param>
        /// <param name="dependency"></param>
        void AddDependency(string path, IAssetDependency dependency);
        string GetGroupName(string path);
        string GetAddressPath(string path);
        bool IsMainAsset(string assetPath);
    }
}